package com.marvels.common.constants;

import org.apache.http.Header;
/**
 * 响应数据model
 * 
 *
 */
public class ResponseData {
	/**
	 * 响应包体
	 */
	private String body;
	/**
	 * 返回错误信息
	 */
	private String error;
	/**
	 * 响应包头
	 */
	private Header[] headers;
	
	private Exception e;
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public Header[] getHeaders() {
		return headers;
	}
	public void setHeaders(Header[] headers) {
		this.headers = headers;
	}
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}
	public void setError(String error,Exception e) {
		this.error = error;
		this.e = e;
	}
	public Exception getE() {
		return e;
	}
	public void setE(Exception e) {
		this.e = e;
	}
	
}
